﻿using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Reflection;
using IDAL;
using Model;

namespace BLL
{
    public class THouse : BaseService<THouseInfo>
    {
        private static readonly ITHouse dal = DALFactory.DataAccess.CreateTHouse();

        public override void SetCurrentRepository()
        {
            CurrentRepository = dal;
        }

        public IList<THouseInfo> GetTHousesbyMO(string moID)
        {
            return dal.GetTHousesbyMO(moID);
        }
    }
}
